<?php

return array(
	"prepare" => '
function for_test_example() {
	return 4*7*100/146+str_replace("1", "2", "3");
};

function for_test_example2() {
	return 4*7*100/146+str_replace("1", "2"); // warning!
}

ini_set("display_errors", 0);',
	"php" => 5,
	"name" => "@"
	"tests" => array(
		"noerr-at" => array(
			"desc" => "Без ошибок, НЕ используя @",
			"code" => 'for_test_example();',
			"i" => 1000
		),
		"noerr-with-at" => array(
			"desc" => "Без ошибок, используя @",
			"code" => '@for_test_example();',
			"i" => 1000
		),
		"err-at" => array(
			"desc" => "C ошибкой, НЕ используя @",
			"code" => 'for_test_example2();',
			"i" => 1000
		),
		"err-with-at" => array(
			"desc" => "C ошибкой, используя @",
			"code" => '@for_test_example2();',
			"i" => 1000
		)
	)
);
?>
